export default {
  //主题色设置
  theme: {
    'primary-color': '#00B2A9',
  },
  // 插件设置
  plugins: [
    [
      'umi-plugin-react',
      {
        antd: true, //使用antd
        dva: true,
      },
    ],
  ],
  // 路由设置
  routes: [
    {
      path: '/',
      component: 'index',
      routes: [
        {
          path: '/',
          component: './home',
        },
      ],
    },
  ],
  // 服务请求设置
  proxy: {
    '/dev': {
      target: 'https://08ad1pao69.execute-api.us-east-1.amazonaws.com',
      changeOrigin: true,
    },
  },
};
